package com.yfuxdeer.youchat.dao;

import com.yfuxdeer.youchat.pojo.Moment;

import java.util.List;

public interface MomentDao {
    List<Moment> findAll(String hostId) throws Exception;

    void insert(Moment moment) throws Exception;

    Moment findLastById(String username) throws Exception;
}
